package com.t.bricks.bussiness.db.entity.supplier.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 供应商管理'Supplier'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 */
@ApiModel("供应商管理Supplier")
public class SupplierBase implements Serializable {

	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String sId;

	/**
	 * 供应商名称
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sName", sComment="供应商名称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="供应商名称", example="")
	//[end]
	protected String sName;

	/**
	 * 别称
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sAlias", sComment="别称", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="别称", example="")
	//[end]
	protected String sAlias;

	/**
	 * 联系电话
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sPhone", sComment="联系电话", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=24, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="联系电话", example="")
	//[end]
	protected String sPhone;

	/**
	 * 联系地址
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sAddress", sComment="联系地址", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=360, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="联系地址", example="")
	//[end]
	protected String sAddress;

	/**
	 * 开始时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="dBeginDate", sComment="开始时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=5 )
	@ApiModelProperty(value="开始时间", example="")
	//[end]
	protected Date dBeginDate;

	/**
	 * 结束时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="dEndDate", sComment="结束时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=6 )
	@ApiModelProperty(value="结束时间", example="")
	//[end]
	protected Date dEndDate;

	/**
	 * 信誉度编码
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sReputationCode", sComment="信誉度编码", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=10, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="信誉度编码", example="")
	//[end]
	protected String sReputationCode;

	/**
	 * 信誉度名称(冗余)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sReputationName", sComment="信誉度名称(冗余)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="信誉度名称(冗余)", example="")
	//[end]
	protected String sReputationName;

	/**
	 * 供应范围编码
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sRangeCode", sComment="供应范围编码", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=10, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="供应范围编码", example="")
	//[end]
	protected String sRangeCode;

	/**
	 * 供应范围名称(冗余)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sRangeName", sComment="供应范围名称(冗余)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="供应范围名称(冗余)", example="")
	//[end]
	protected String sRangeName;

	/**
	 * 送货人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sDelivery", sComment="送货人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=11 )
	@ApiModelProperty(value="送货人", example="")
	//[end]
	protected String sDelivery;

	/**
	 * 负责人
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sCharge", sComment="负责人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="负责人", example="")
	//[end]
	protected String sCharge;

	/**
	 * 法人代表
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sCorporation", sComment="法人代表", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=13 )
	@ApiModelProperty(value="法人代表", example="")
	//[end]
	protected String sCorporation;

	/**
	 * 常用车牌
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sLicense", sComment="常用车牌", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="常用车牌", example="")
	//[end]
	protected String sLicense;

	/**
	 * 证件号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sCertificates", sComment="证件号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=64, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="证件号", example="")
	//[end]
	protected String sCertificates;

	/**
	 * 供应商附件存档路径
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sFilePath", sComment="供应商附件存档路径", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="供应商附件存档路径", example="")
	//[end]
	protected String sFilePath;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=17 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sCreator", sComment="创建人编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=18 )
	@ApiModelProperty(value="创建人编号", example="00000001")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=19 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人编号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="sModifieder", sComment="修改人编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="00000001", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=20 )
	@ApiModelProperty(value="修改人编号", example="00000001")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=21 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态(1:正常；2淘汰)
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="iState", sComment="状态(1:正常；2淘汰)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=22 )
	@ApiModelProperty(value="状态(1:正常；2淘汰)", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=23 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksWarehousing", sTableName="Supplier", sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=24 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置记录编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 供应商名称
	 * @return String
	 */
	public String getsName() {
		return sName;
	}

	/**
	 * 设置供应商名称
	 * @param sName
	 */
	public void setsName(String sName) {
		this.sName = sName;
	}

	/**
	 * 取 别称
	 * @return String
	 */
	public String getsAlias() {
		return sAlias;
	}

	/**
	 * 设置别称
	 * @param sAlias
	 */
	public void setsAlias(String sAlias) {
		this.sAlias = sAlias;
	}

	/**
	 * 取 联系电话
	 * @return String
	 */
	public String getsPhone() {
		return sPhone;
	}

	/**
	 * 设置联系电话
	 * @param sPhone
	 */
	public void setsPhone(String sPhone) {
		this.sPhone = sPhone;
	}

	/**
	 * 取 联系地址
	 * @return String
	 */
	public String getsAddress() {
		return sAddress;
	}

	/**
	 * 设置联系地址
	 * @param sAddress
	 */
	public void setsAddress(String sAddress) {
		this.sAddress = sAddress;
	}

	/**
	 * 取 开始时间
	 * @return Date
	 */
	public Date getdBeginDate() {
		return dBeginDate;
	}

	/**
	 * 设置开始时间
	 * @param dBeginDate
	 */
	public void setdBeginDate(Date dBeginDate) {
		this.dBeginDate = dBeginDate;
	}

	/**
	 * 取 结束时间
	 * @return Date
	 */
	public Date getdEndDate() {
		return dEndDate;
	}

	/**
	 * 设置结束时间
	 * @param dEndDate
	 */
	public void setdEndDate(Date dEndDate) {
		this.dEndDate = dEndDate;
	}

	/**
	 * 取 信誉度编码
	 * @return String
	 */
	public String getsReputationCode() {
		return sReputationCode;
	}

	/**
	 * 设置信誉度编码
	 * @param sReputationCode
	 */
	public void setsReputationCode(String sReputationCode) {
		this.sReputationCode = sReputationCode;
	}

	/**
	 * 取 信誉度名称(冗余)
	 * @return String
	 */
	public String getsReputationName() {
		return sReputationName;
	}

	/**
	 * 设置信誉度名称(冗余)
	 * @param sReputationName
	 */
	public void setsReputationName(String sReputationName) {
		this.sReputationName = sReputationName;
	}

	/**
	 * 取 供应范围编码
	 * @return String
	 */
	public String getsRangeCode() {
		return sRangeCode;
	}

	/**
	 * 设置供应范围编码
	 * @param sRangeCode
	 */
	public void setsRangeCode(String sRangeCode) {
		this.sRangeCode = sRangeCode;
	}

	/**
	 * 取 供应范围名称(冗余)
	 * @return String
	 */
	public String getsRangeName() {
		return sRangeName;
	}

	/**
	 * 设置供应范围名称(冗余)
	 * @param sRangeName
	 */
	public void setsRangeName(String sRangeName) {
		this.sRangeName = sRangeName;
	}

	/**
	 * 取 送货人
	 * @return String
	 */
	public String getsDelivery() {
		return sDelivery;
	}

	/**
	 * 设置送货人
	 * @param sDelivery
	 */
	public void setsDelivery(String sDelivery) {
		this.sDelivery = sDelivery;
	}

	/**
	 * 取 负责人
	 * @return String
	 */
	public String getsCharge() {
		return sCharge;
	}

	/**
	 * 设置负责人
	 * @param sCharge
	 */
	public void setsCharge(String sCharge) {
		this.sCharge = sCharge;
	}

	/**
	 * 取 法人代表
	 * @return String
	 */
	public String getsCorporation() {
		return sCorporation;
	}

	/**
	 * 设置法人代表
	 * @param sCorporation
	 */
	public void setsCorporation(String sCorporation) {
		this.sCorporation = sCorporation;
	}

	/**
	 * 取 常用车牌
	 * @return String
	 */
	public String getsLicense() {
		return sLicense;
	}

	/**
	 * 设置常用车牌
	 * @param sLicense
	 */
	public void setsLicense(String sLicense) {
		this.sLicense = sLicense;
	}

	/**
	 * 取 证件号
	 * @return String
	 */
	public String getsCertificates() {
		return sCertificates;
	}

	/**
	 * 设置证件号
	 * @param sCertificates
	 */
	public void setsCertificates(String sCertificates) {
		this.sCertificates = sCertificates;
	}

	/**
	 * 取 供应商附件存档路径
	 * @return String
	 */
	public String getsFilePath() {
		return sFilePath;
	}

	/**
	 * 设置供应商附件存档路径
	 * @param sFilePath
	 */
	public void setsFilePath(String sFilePath) {
		this.sFilePath = sFilePath;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建人编号
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建人编号
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人编号
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人编号
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态(1:正常；2淘汰)
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态(1:正常；2淘汰)
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
